asp .net core 3 mvc select with default value

56

asp .net core 3 mvc select with default value -

<select asp-for="Category" asp-items="@ViewBag.Category"  class="form-control">
        <option disabled selected>--- SELECT ---</option>
    </select>

asp .net core 3 mvc select with default value -

<select asp-for="Category" asp-items="@ViewBag.Category"  class="form-control">
    <option disabled selected>--- SELECT ---</option>
</select>

Comments

Submit
0 Comments